package report.dao.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import report.dao.po.SysDictTypeDO;

import java.util.List;

/**
 * @Date: Created in 28/12/2017 7:29 PM
 * @Author: pengganyu
 * @Desc:
 */

public interface SysDictTypeRepository extends JpaRepository<SysDictTypeDO, String> {

    @Query("select name from SysDictTypeDO  where id =?1")
    public List<String> findNamesById(String id);
}
